package com.hzx.ssm.service;

import com.hzx.ssm.entity.Message;
import com.hzx.ssm.entity.ResBean;

import java.util.HashMap;
import java.util.List;

public interface MessageService {

    HashMap<String, Object> findAllIsMessage(Integer pageNum, Integer sizeNum);

    HashMap<String, Object> findAllIsNotMessage(Integer pageNum, Integer sizeNum);

    void deleteMessageById(String message_id);

    void addMessage(Message message);

    void setMessageEnable(String message_id);

    ResBean deleteMyMessage(String message_id,String user_id);

    ResBean findMyAllMessage(String user_id,int pageNum,int sizeNum);

    ResBean  updateUpNum(String message_id);


}
